using System;

namespace Qplus.protocol
{

    /**
     * 
     */
    public class U2C_NOTIFY_SYSTEM_MSG : InPacket{

	    private long date;
	    private int type;
	    private byte[] msg;
	
	    
	    protected override void parseBody(byte[] data, int offset, int count) {
		    date = get4(data);
		    type = get1(data);
		    int len = get2(data);
		    this.msg = getN(data, len);
	    }

	    public long getDate() {
		    return date;
	    }

	    public void setDate(long date) {
		    this.date = date;
	    }

	    public int getType() {
		    return type;
	    }

	    public void setType(int type) {
		    this.type = type;
	    }

	    public byte[] getMsgData(){
		    return msg;
	    }
	
	    public void setMsgData(byte[] data){
		    this.msg = data;
	    }
	
	}
}
